<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');
/*
  | -------------------------------------------------------------------
  |  Aauth Config
  | -------------------------------------------------------------------
  | A library Basic Authorization for CodeIgniter 2.x
 */


// Config variables

$config['aauth'] = array(
    'login_page' => '/login',
    // if user don't have permisssion to see the page he will be
    // redirected the page spesificed below
    'no_permission' => '/',
    //name of admin group
    'admin_group' => 'admin',
    //name of default group, the new user is added in it
    'default_group' => 'default',
    // public group , people who not logged in
    'public_group' => 'public',
    // The table which contains users
    'users' => 'aauth_users',
    // the group table
    'groups' => 'aauth_groups',
    // 
    'user_to_group' => 'aauth_user_to_group',
    // permitions
    'perms' => 'aauth_perms',
    // perms to group
    'perm_to_group' => 'aauth_perm_to_group',
    // perms to group
    'perm_to_user' => 'aauth_perm_to_user',
    // pm table
    'pms' => 'aauth_pms',
    // system variables
    'system_variables' => 'aauth_system_variables',
    // user variables
    'user_variables' => 'aauth_user_variables',

    // remember time
    'remember' => ' +3 days',

    // pasword maximum char long (min is 4)
    'max' => 13,

    // non alphanumeric characters that are allowed in a name
    'valid_chars' => array(' ', '\''),

    // ddos protection,
    //if it is true, the user will be banned temporary when he exceed the login 'try'
    'ddos_protection' => true,

    // login attempts time interval
    // default 20 times in one hour
    'max_login_attempt' => 10,

    // to register email verifitaion need? true / false
    'verification' => false,

    // system email.
    'email' => 'no-reply@viabilisproperties.com',
    'name' => 'Viabilis-admin',
    'subject' => 'Vérification des comptes',
    'reset' => 'réinitialiser notre mot de passe',


    // error mesages
    // change to your language

    'email_taken' => 'E-mail est déjà pris',
    'email_invalid' => 'E-mail invalid',
    'pass_invalid' => 'La longueur du mot de passe doit être entre 5 et 13 caractères',
	'passconf_invalid' => 'la confirmation de mot de passe ne correspondent pas',
    'name_invalid' => 'Nom invalid',
    'code' => 'Votre code est: ',
    'link' => ' or you can copy and paste falowing link http://localhost/vert/',

    'remind' => 'Si vous souhaitez réinitialiser votre mot de passe, cliquez lien suivant: '.site_url('reset').'/',
    'new_password' => 'Votre nouveau mot de passe : ',

    // no access
    'no_access' => "Vous n'avez pas accès.",

    //
    'wrong' => "le courriel électronique ou le mot de passe n'est pas correct.",
    'exceeded' => 'Vous avez dépassé le nombre de tentatives de connexion autorisées.',
    'no_user' => "I'utilisateur n'existe pas",
    'not_verified' => 'Please verify your account.',
    'group_exist' => 'Group already exists',
    'no_group' => 'Group doesn\'t exists',
    'self_pm' => 'It is not reasonable to send pm to yourself :)',
    'no_pm' => 'Pm not found',
	'banned' => 'Ce compte a été bloqué.',
    //info
    'already_member' => 'User already member of group',
    'already_perm' => 'Permission name already existed'
    
);


/* End of file autoload.php */
/* Location: ./application/config/autoload.php */